package com.aiwiown.face.domain.ocrbank;

import com.aiwiown.face.ApiObject;
import com.aiwiown.face.domain.orc.PositionInfo;
import com.aiwiown.face.internal.mapping.ApiField;

/**
 * <pre>
 * </pre>
 * Position
 * Date: 2020/7/21 0021
 * Time: 10:25
 *
 * @author tang.xiaosheng@qq.com
 */
public class OCRBankCardPosition extends ApiObject {
    private static final long serialVersionUID = 2016787353992156400L;
    /**
     * 仅当“result=1001”时返回。
     * <p>
     * 银行卡四个角的像素点坐标，包含以下属性：
     * <p>
     * left_top：银行卡左上角的像素点坐标
     * right_top：银行卡右上角的像素点坐标
     * left_bottom：银行卡左下角的像素点坐标
     * right_bottom：银行卡右下角的像素点坐标
     * 每个属性都包含以下字段，每个字段的值都是整数。
     * <p>
     * x：像素点横坐标位置
     * y：像素点纵坐标位置
     */
    @ApiField("left_top")
    private PositionInfo leftTop;
    @ApiField("left_bottom")
    private PositionInfo leftBottom;
    @ApiField("right_top")
    private PositionInfo rightTop;
    @ApiField("right_bottom")
    private PositionInfo rightBottom;

    public PositionInfo getLeftTop() {
        return leftTop;
    }

    public void setLeftTop(PositionInfo leftTop) {
        this.leftTop = leftTop;
    }

    public PositionInfo getLeftBottom() {
        return leftBottom;
    }

    public void setLeftBottom(PositionInfo leftBottom) {
        this.leftBottom = leftBottom;
    }

    public PositionInfo getRightTop() {
        return rightTop;
    }

    public void setRightTop(PositionInfo rightTop) {
        this.rightTop = rightTop;
    }

    public PositionInfo getRightBottom() {
        return rightBottom;
    }

    public void setRightBottom(PositionInfo rightBottom) {
        this.rightBottom = rightBottom;
    }
}
